package com.springboot_gradrecruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot_gradrecruit.common.PageRequest;
import com.springboot_gradrecruit.common.PageResponse;
import com.springboot_gradrecruit.model.dto.video.AddVideoRequest;
import com.springboot_gradrecruit.model.dto.video.PageVideoRequest;
import com.springboot_gradrecruit.model.dto.video.UpdateVideoRequest;
import com.springboot_gradrecruit.model.entity.Video;
import com.springboot_gradrecruit.model.vo.video.VideoVO;
import jakarta.servlet.http.HttpServletRequest;

/**
* @author zr
* @description 针对表【video】的数据库操作Service
* @createDate 2024-11-14 13:51:36
*/
public interface VideoService extends IService<Video> {

    Long addVideo(AddVideoRequest addVideoRequest, HttpServletRequest request);


    VideoVO queryVideoByEnterpriseUserId(Long enterpriseUserId);

    PageResponse<VideoVO> pageVideo(PageVideoRequest pageVideoRequest);

    boolean updateById(UpdateVideoRequest updateVideoRequest);
}
